package com.itboye.mengwu.data.model;

import java.util.ArrayList;

public class GoodsListModel {
	/**
	 * ["count"] => string(2) "12" //符合条件的商品总数 ["list"] => array(3) { [0] =>
	 * array(6) { ["id"] => string(2) "50" //商品id ["name"] => string(12) "可口可乐"
	 * //商品名称 ["total_sales"] => string(1) "0" //商品销量 ["cate_id"] => string(1)
	 * "2" //商品类目 ["img"] => string(77)
	 * "http://192.168.0.100/github/itboye_sunsun_php/index.php/Api/Picture/index?id="
	 * //商品主图 ["price"] => string(3) "1.0" //商品各规格最低价格 } ... ... [9] => array(6)
	 * { ["id"] => string(2) "52" ["name"] => string(6) "橘子" ["total_sales"] =>
	 * string(1) "0" ["cate_id"] => string(1) "4" ["img"] => string(77)
	 * "http://192.168.0.100/github/itboye_sunsun_php/index.php/Api/Picture/index?id="
	 * ["price"] => string(3) "2.0" } }
	 */
	private String count;
	private ArrayList<GoodsList> list;
	private String order;
	private String min_cost;
	private String max_cost;
	private String service_id;

	String page_no;
	String name;


	public String getService_id() {
		return service_id;
	}

	public void setService_id(String service_id) {
		this.service_id = service_id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPage_no() {
		return page_no;
	}

	public void setPage_no(String page_no) {
		this.page_no = page_no;
	}

	public String getMin_cost() {
		return min_cost;
	}

	public void setMin_cost(String min_cost) {
		this.min_cost = min_cost;
	}

	public String getMax_cost() {
		return max_cost;
	}

	public void setMax_cost(String max_cost) {
		this.max_cost = max_cost;
	}

	public String getOrder() {
		return order;
	}

	public void setOrder(String order) {
		this.order = order;
	}

	public String getCount() {
		return count;
	}

	public void setCount(String count) {
		this.count = count;
	}

	public ArrayList<GoodsList> getList() {
		return list;
	}

	public void setList(ArrayList<GoodsList> list) {
		this.list = list;
	}

	public static class GoodsList {
		boolean isSelected;

		public boolean isSelected() {
			return isSelected;
		}

		public void setSelected(boolean isSelected) {
			this.isSelected = isSelected;
		}

		private String id;
		private String name;
		private String total_sales;
		private String cate_id;
		private String img;
		private String price;
		private String view_cnt;
		private String buy_limit;
		private String store_id;
		private String template_id;
		private String ori_price;
		private String rate_keep_zone;
		private String born;
		private String msg;
		private String discount;
		
		public String getDiscount() {
			return discount;
		}

		public void setDiscount(String discount) {
			this.discount = discount;
		}

		public String getMsg() {
			return msg;
		}

		public void setMsg(String msg) {
			this.msg = msg;
		}

		private ArrayList<store_benefit> info;
		ArrayList<group_info> groupinfo;

		public ArrayList<group_info> getGroupinfo() {
			return groupinfo;
		}

		public void setGroupinfo(ArrayList<group_info> groupinfo) {
			this.groupinfo = groupinfo;
		}

		public ArrayList<store_benefit> getInfo() {
			return info;
		}

		public void setInfo(ArrayList<store_benefit> info) {
			this.info = info;
		}

		public String getView_cnt() {
			return view_cnt;
		}

		public void setView_cnt(String view_cnt) {
			this.view_cnt = view_cnt;
		}

		public String getBuy_limit() {
			return buy_limit;
		}

		public void setBuy_limit(String buy_limit) {
			this.buy_limit = buy_limit;
		}

		public String getStore_id() {
			return store_id;
		}

		public void setStore_id(String store_id) {
			this.store_id = store_id;
		}

		public String getTemplate_id() {
			return template_id;
		}

		public void setTemplate_id(String template_id) {
			this.template_id = template_id;
		}

		public String getOri_price() {
			return ori_price;
		}

		public void setOri_price(String ori_price) {
			this.ori_price = ori_price;
		}

		public String getRate_keep_zone() {
			return rate_keep_zone;
		}

		public void setRate_keep_zone(String rate_keep_zone) {
			this.rate_keep_zone = rate_keep_zone;
		}

		public String getBorn() {
			return born;
		}

		public void setBorn(String born) {
			this.born = born;
		}

		public String getId() {
			return id;
		}

		public void setId(String id) {
			this.id = id;
		}

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

		public String getTotal_sales() {
			return total_sales;
		}

		public void setTotal_sales(String total_sales) {
			this.total_sales = total_sales;
		}

		public String getCate_id() {
			return cate_id;
		}

		public void setCate_id(String cate_id) {
			this.cate_id = cate_id;
		}

		public String getImg() {
			return img;
		}

		public void setImg(String img) {
			this.img = img;
		}

		public String getPrice() {
			return price;
		}

		public void setPrice(String price) {
			this.price = price;
		}

		class store_benefit {
			public String getId() {
				return id;
			}

			public void setId(String id) {
				this.id = id;
			}

			public String getStore_id() {
				return store_id;
			}

			public void setStore_id(String store_id) {
				this.store_id = store_id;
			}

			public String getCondition() {
				return condition;
			}

			public void setCondition(String condition) {
				this.condition = condition;
			}

			public String getDiscount_money() {
				return discount_money;
			}

			public void setDiscount_money(String discount_money) {
				this.discount_money = discount_money;
			}

			public String getFree_shipping() {
				return free_shipping;
			}

			public void setFree_shipping(String free_shipping) {
				this.free_shipping = free_shipping;
			}

			public String getStart_time() {
				return start_time;
			}

			public void setStart_time(String start_time) {
				this.start_time = start_time;
			}

			public String getEnd_time() {
				return end_time;
			}

			public void setEnd_time(String end_time) {
				this.end_time = end_time;
			}

			private String id;
			private String store_id;
			private String condition;
			private String discount_money;
			private String free_shipping;
			private String start_time;
			private String end_time;
			private String msg;

			public String getMsg() {
				return msg;
			}

			public void setMsg(String msg) {
				this.msg = msg;
			}
		}

		class group_info {
			private String id;
			private String g_id;
			private String p_id;
			private String start_time;
			private String end_time;
			private String price;
			private String display_order;

			public String getId() {
				return id;
			}

			public void setId(String id) {
				this.id = id;
			}

			public String getG_id() {
				return g_id;
			}

			public void setG_id(String g_id) {
				this.g_id = g_id;
			}

			public String getP_id() {
				return p_id;
			}

			public void setP_id(String p_id) {
				this.p_id = p_id;
			}

			public String getStart_time() {
				return start_time;
			}

			public void setStart_time(String start_time) {
				this.start_time = start_time;
			}

			public String getEnd_time() {
				return end_time;
			}

			public void setEnd_time(String end_time) {
				this.end_time = end_time;
			}

			public String getPrice() {
				return price;
			}

			public void setPrice(String price) {
				this.price = price;
			}

			public String getDisplay_order() {
				return display_order;
			}

			public void setDisplay_order(String display_order) {
				this.display_order = display_order;
			}
		}
	}
}
